package com.xuecheng.manage_cms.service;

import com.xuecheng.framework.domain.cms.CmsTemplate;
import com.xuecheng.framework.domain.cms.request.QueryTemplateRequest;
import com.xuecheng.framework.domain.cms.response.TemplateResult;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;

public interface CmsTemplateService {

    QueryResponseResult findList(int page, int size, QueryTemplateRequest templateRequest);

    TemplateResult add(CmsTemplate cmsTemplate);

    CmsTemplate findById(String id);

    TemplateResult edit(String id, CmsTemplate cmsTemplate);

    ResponseResult delete(String id);
}
